home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941031-19941221 / 000342_news@columbia.edu_Sun Dec 4 00:24:09 1994.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25740
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 4 Dec 1994 04:27:38 -0500
  3. Received: by apakabar.cc.columbia.edu id AA16251
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 4 Dec 1994 04:27:36 -0500
  5. Newsgroups: comp.protocols.kermit.misc
  6. Path: news.columbia.edu!sol.ctr.columbia.edu!newsxfer.itd.umich.edu!zip.eecs.umich.edu!caen!hearst.acc.Virginia.EDU!murdoch!fulton.seas.Virginia.EDU!esh6h
  7. From: esh6h@fulton.seas.Virginia.EDU (Erik Hatcher)
  8. Subject: "OPEN READ file" Problems
  9. Message-Id: <D09Fs9.1n0@murdoch.acc.Virginia.EDU>
  10. Sender: usenet@murdoch.acc.Virginia.EDU
  11. Organization: University of Virginia
  12. Date: Sun, 4 Dec 1994 00:24:09 GMT
  13. Lines: 82
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. Frank et al, I apologize that everything
  17. I post to this newsgroup are problems I'm
  18. experiencing with C-Kermit.  I truly love
  19. the product and have little complaints!
  20.  
  21. Now to the problem...
  22.  
  23. I'm running...
  24. C-Kermit 5A(190), 4 Oct 94, for OpenVMS VAX
  25.  
  26. And created a text file called param.dat
  27. containing three small lines of text.
  28.  
  29. Then went into C-Kermit and did this...
  30.  
  31. C-Kermit>open read sys$login:param.dat
  32. C-Kermit>read \%a
  33. C-Kermit>echo \%a
  34.  
  35. C-Kermit>read \%a
  36. ?Read file not open
  37. C-Kermit>type sys$login:param.dat
  38. username
  39. password
  40. e-mail@address
  41. ---------------------------
  42.  
  43. I checked all the docs I have (THE book, the
  44. beware file for VMS, etc).  I didn't find any
  45. exceptions for READ for VMS.  The !READ works
  46. fine when I do this...
  47.  
  48. C-Kermit>open !read type sys$login:param.dat
  49. C-Kermit>read \%a
  50. C-Kermit>echo \%a
  51. username
  52. C-Kermit>read \%a
  53. C-Kermit>echo \%a
  54. password
  55. C-Kermit>read \%a
  56. C-Kermit>echo \%a
  57. e-mail@address
  58. C-Kermit>read \%a
  59. C-Kermit>echo \%a
  60.  
  61. C-Kermit>read \%a
  62. ?Read file not open
  63.  
  64. -----------------------
  65.  
  66. So why won't READ work in this case?  Is it possible my
  67. file attributes are what it needs to be for it to read
  68. the file correctly?  They are...
  69. MV80:[]$ dir /full sys$login:param.dat
  70.  
  71. Directory SYS$USERS:[HATCHER]
  72.  
  73. PARAM.DAT;1                   File ID:  (8847,19,0)
  74. Size:            1/3          Owner:    [HATCHER]
  75. Created:   3-DEC-1994 17:49:44.15
  76. Revised:   3-DEC-1994 18:46:26.02 (2)
  77. Expires:   <None specified>
  78. Backup:    <No backup recorded>
  79. File organization:  Sequential
  80. File attributes:    Allocation: 3, Extend: 0, Global buffer count: 0, No version limit
  81. Record format:      Variable length, maximum 14 bytes
  82. Record attributes:  Carriage return carriage control
  83. RMS attributes:     None
  84. Journaling enabled: None
  85. File protection:    System:RWED, Owner:RWED, Group:RWED, World:RWED
  86. Access Cntrl List:  None
  87.  
  88. Total of 1 file, 1/3 blocks.
  89.  
  90. Thanks for the help.
  91.  
  92.     Erik
  93. --
  94. Erik Hatcher                           + "But every now and then we just have
  95. http://fulton.seas.virginia.edu/~esh6h |  to howl with the wolves." 
  96.                                        |        - Werner Heisenberg
  97. ---------------------------------------+-------------------------------------